(put_line): Don't output \n\t unless more text follows.
authorRichard M. Stallman <rms@gnu.org>
Fri, 28 May 1993 21:22:17 +0000 (21:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 28 May 1993 21:22:17 +0000 (21:22 +0000)
lib-src/fakemail.c

index 464a739e998112bbe0284e6759252a615e9136e6..a78fbe87f267944360d2c02720a660a76d4bdcf2 100644 (file)
@@ -436,12 +436,13 @@ put_line (string)
            }
          /* Output that much, then break the line.  */
          fwrite (s, 1, breakpos - s, rem->handle);
-         fputs ("\n\t", rem->handle);
          column = 8;
 
          /* Skip whitespace and prepare to print more addresses.  */
          s = breakpos;
          while (*s == ' ' || *s == '\t') ++s;
+          if (*s != 0)
+           fputs ("\n\t", rem->handle);
        }
       putc ('\n', rem->handle);
     }